//==============================================================================
// Swordsman_Anim.txt
// This unit has the Murmillo helmet, the scutum (tower) shield, and the straight sword.
//==============================================================================

import Pilum_Defines_anim.txt

//==============================================================================
define shield
{
	SetSelector
	{
		TechLogic none/Copper shields/Bronze shields/Iron shields	
		set hotspot
		{
			version
			{
				Visual Infantry X Trident Soldier Shield
				ReplaceTexture infantry x trident soldier shield iron/Attachments X Destroyer Shield Standard
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Trident Soldier Shield
				ReplaceTexture infantry x trident soldier shield iron/Attachments X Destroyer Shield Copper
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Trident Soldier Shield
				ReplaceTexture infantry x trident soldier shield iron/Attachments X Destroyer Shield Bronze
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Trident Soldier Shield
			}
		}
	}
}

//==============================================================================
define Head
{
	SetSelector
	{
		TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
		set hotspot
		{
			version
			{
				Visual Infantry X Murmillo Head
				ReplaceTexture Infantry X Swordsman Iron/Infantry X Swordsman Standard
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Murmillo Head
				ReplaceTexture Infantry X Swordsman Iron/Infantry X Swordsman Copper
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Murmillo Head
				ReplaceTexture Infantry X Swordsman Iron/Infantry X Swordsman Bronze
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Murmillo Head
			}
		}
	}
}

//==============================================================================
define Sword
{
	SetSelector
	{
		TechLogic none/Copper Weapons/Bronze Weapons/Iron Weapons
		set hotspot
		{
			version
			{
				Visual Attachments X Double Sword Standard
				connect Fire Flame hotspot
			}
		}			
		set hotspot
		{
			version
			{
				Visual Attachments X Double Sword Copper
				connect Fire Flame hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Attachments X Double Sword Bronze
				connect Fire Flame hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Attachments X Double Sword Iron
				connect Fire Flame hotspot
			}
		}
	}	  
}

//==============================================================================
define shark
{
	SetSelector
	{
		TechLogic none/Bite of the Shark
		set hotspot
		{
			version
			{
				Visualnone jimmy
			}
		}
		set hotspot
		{
			version
			{
				Visualparticle SFX G Deimos Sword
			}
		}
	}
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_BoredA
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Standard
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_BoredA
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Copper
					connect LeftForearm Shield hotspot
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_BoredA
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Bronze
					connect LeftForearm Shield hotspot
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_BoredA
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Iron
					connect LeftForearm Shield hotspot
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					Connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector 
		{
	  		set hotspot
			{
				version
				{
					VisualGranny Trid_IdleA
				}
			}
		}
	}
}

//==============================================================================
anim Idle
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_IdleA
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Standard
					connect LeftForearm Shield hotspot
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_IdleA
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Copper
					connect LeftForearm Shield hotspot
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_IdleA
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Bronze
					connect LeftForearm Shield hotspot
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_IdleA
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Iron
					connect LeftForearm Shield hotspot
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					Connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector 
		{
	  		set hotspot
			{
				version
				{
					VisualGranny Trid_IdleA
				}
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			TechLogic none/Copper Mail/Bronze Mail/Iron Mail
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_walkA
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Standard
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag FootstepLeft 0.00 true	
					tag FootstepRight 0.50 true	
//-- end auto generated section
					connect LeftForearm Shield hotspot
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag FootstepLeft 0.00 true	
					tag FootstepRight 0.50 true	
//-- end auto generated section
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Copper
					connect LeftForearm Shield hotspot
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag FootstepLeft 0.00 true	
					tag FootstepRight 0.50 true	
//-- end auto generated section
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Bronze
					connect LeftForearm Shield hotspot
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry X Destroyer_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag FootstepLeft 0.00 true	
					tag FootstepRight 0.50 true	
//-- end auto generated section
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Iron
					connect LeftForearm Shield hotspot
					connect RightHand Sword hotspot
					connect RightHand shark hotspot
					Connect TopOfHead Head hotspot
				}
			}
		}
		SetSelector 
		{
	  		set hotspot
			{
				version
				{
					VisualGranny Trid_walkA
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_AttackA
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Standard
					connect LeftForearm Shield hotspot
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag Attack 0.50 true	
					tag GenericSound 0.40 true	
//-- end auto generated section
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry X Destroyer_AttackB
					ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Standard
					connect LeftForearm Shield hotspot
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag Attack 0.53 true	
					tag GenericSound 0.40 true	
//-- end auto generated section
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag Attack 0.50 true	
					tag GenericSound 0.40 true	
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Copper
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry X Destroyer_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag Attack 0.53 true	
					tag GenericSound 0.40 true	
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Copper
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.50 true	
				tag GenericSound 0.40 true	
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Bronze
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry X Destroyer_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.53 true	
				tag GenericSound 0.40 true	
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Bronze
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.50 true	
				tag GenericSound 0.40 true	
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Iron
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry X Destroyer_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.53 true	
				tag GenericSound 0.40 true	
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Iron
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
	}
}

//==============================================================================
anim Death
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_DeathA
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Standard
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_DeathA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag SpecificSoundSet 0.11 false MaleDeath checkVisible 
//-- end auto generated section
//				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Copper
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_DeathA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag SpecificSoundSet 0.11 false MaleDeath checkVisible 
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Bronze
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_DeathA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag SpecificSoundSet 0.11 false MaleDeath checkVisible 
//-- end auto generated section
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Iron
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
	}
}

//==============================================================================
anim Flail
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_FlailA
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Standard
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_FlailA
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Copper
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_FlailA
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Bronze
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry X Destroyer_FlailA
				ReplaceTexture Infantry X Trident Soldier Iron/Infantry X Swordsman Iron
				connect LeftForearm Shield hotspot
				connect RightHand Sword hotspot
				connect RightHand Shark hotspot
				Connect TopOfHead Head hotspot
			}
		}
	}
}

//==============================================================================
anim Cinematic
{
	SetSelector
	{
		set hotspot
		{
			name Trid_aomx07react
			version
			{
				VisualGranny Trid_aomx07react
			}
		}
		set hotspot
		{
			name Trid_x01whatsgoing
			version
			{
				VisualGranny Trid_x01whatsgoing
			}
		}
	}
}

//==============================================================================
anim Charging
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Archer G Peltast_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.40 true	
				tag GenericSound 0.40 true	
				tag SpecificSoundSet 0.50 false Arrow checkVisible 
//-- end auto generated section
				ReplaceTexture Archer G Peltast Standard/Infantry X Swordsman Standard
				ReplaceTexture Archer G Peltast Head Standard/Archer G Peltast Head Invisible
				ReplaceTexture Archer G Peltast Cape Standard/Infantry X Trident Soldier Cape Iron
				connect RightHand Pilum Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Archer G Peltast_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.40 true	
				tag GenericSound 0.40 true	
				tag SpecificSoundSet 0.50 false Arrow checkVisible 
//-- end auto generated section
				ReplaceTexture Archer G Peltast Standard/Infantry X Swordsman Copper
				ReplaceTexture Archer G Peltast Head Standard/Archer G Peltast Head Invisible
				ReplaceTexture Archer G Peltast Cape Standard/Infantry X Trident Soldier Cape Iron
				connect RightHand Pilum Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Archer G Peltast_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.40 true	
				tag GenericSound 0.40 true	
				tag SpecificSoundSet 0.50 false Arrow checkVisible 
//-- end auto generated section
				ReplaceTexture Archer G Peltast Standard/Infantry X Swordsman Bronze
				ReplaceTexture Archer G Peltast Head Standard/Archer G Peltast Head Invisible
				ReplaceTexture Archer G Peltast Cape Standard/Infantry X Trident Soldier Cape Iron
				connect RightHand Pilum Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Archer G Peltast_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.40 true	
				tag GenericSound 0.40 true	
				tag SpecificSoundSet 0.50 false Arrow checkVisible 
//-- end auto generated section
				ReplaceTexture Archer G Peltast Standard/Infantry X Swordsman Iron
				ReplaceTexture Archer G Peltast Head Standard/Archer G Peltast Head Invisible
				ReplaceTexture Archer G Peltast Cape Standard/Infantry X Trident Soldier Cape Iron
				connect RightHand Pilum Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
			}
		}
	}
}
